xen: move hvm save code under common to x86
authorWei Liu <wei.liu2@citrix.com>
Mon, 21 Aug 2017 14:09:11 +0000 (15:09 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 22 Aug 2017 15:41:30 +0000 (16:41 +0100)
commit108896d73e5a95a99bbebb1d68e0a656cf93b703
tree57d5c0081c2dca84351998f25d8194ad688e12ff
parent149c6bbbf775b5e6dd6beae329fcdaab33a0f8cd
xen: move hvm save code under common to x86

The code is only used by x86 at this point. Merge common/hvm/save.c
into x86 hvm/save.c. Move the headers and fix up inclusions. Remove
the now empty common/hvm directory.

Also fix some issues while moving:
1. removing trailing spaces;
2. fix multi-line comment;
3. make "i" in hvm_save unsigned int;
4. add some blank lines to separate sections of code;
5. change bool_t to bool.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/vmce.c
xen/arch/x86/cpu/vpmu_amd.c
xen/arch/x86/hvm/save.c
xen/common/Makefile
xen/common/hvm/Makefile [deleted file]
xen/common/hvm/save.c [deleted file]
xen/include/asm-x86/hvm/save.h [new file with mode: 0644]
xen/include/asm-x86/hvm/support.h
xen/include/xen/hvm/save.h [deleted file]